-- GENERATED SPELL FOR [Gazban] --


function spell0_2624(pUnit, Event) --@Crash of Waves,Self--
pUnit:FullCastSpellOnTarget(5403,pUnit)
pUnit:RegisterEvent('Sorts_2624', 12000, 1)
end

function Sorts_2624(pUnit, Event)
local choix_sorts_2624 = math.random(0, 0)
if choix_sorts_2624 == 0 then
pUnit:RegisterEvent('spell0_2624', 1, 1)
end
end

function mob2624_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2624', math.random(1500, 3000), 1)
end

function mob2624_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2624_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2624_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2624, 1, 'mob2624_Action')
RegisterUnitEvent(2624, 2, 'mob2624_Leave')
RegisterUnitEvent(2624, 3, 'mob2624_Kill')
RegisterUnitEvent(2624, 4, 'mob2624_Die')
